﻿namespace Digitalmes.Application.Mes.Masters.Lines.Commands;

internal sealed class CreateLineCommandValidator : AbstractValidator<CreateLineCommand>
{
    public CreateLineCommandValidator()
    {
        RuleFor(v => v.Line.LineCode).MaximumLength(64).NotEmpty();
        RuleFor(v => v.Line.LineName).MaximumLength(64).NotEmpty();
    }
}
